
import router from './router'
import store from './store'
import { createApp } from 'vue'
import ElementPlus from 'element-plus'
import 'element-plus/dist/index.css'
import App from './App.vue'
import axios from 'axios'
import "./axios.js" // 导入 自定义 axios.js

import 'element-plus/dist/index.css'
import 'normalize.css'
import 'vue-awesome/icons'
import * as ElementPlusIconsVue from '@element-plus/icons-vue'
import Icon from 'vue-awesome/components/Icon'






const app = createApp(App); // 建立 vue3 app
app.use(router);
app.use(ElementPlus);
app.use(store);

for (const [key, component] of Object.entries(ElementPlusIconsVue)) {
    app.component(key, component)
}
app.component('icon', Icon)
app.config.globalProperties.$axios = axios;
app.mount('#app'); // 挂载到 #app 元素上





